
import Layout from '@/layout'

export default {
  path: '/salarys',
  component: Layout,
  name: 'salary',
  redirect: '/salarys/index',
  children: [
    {
      path: 'index',
      component: () => import('@/views/salarys'),
      meta: {
        title: '工资',
        icon: 'money'
      }
    },
    {
      path: 'setting',
      component: () => import('@/views/salarys/setting'),
      hidden: true,
    },
    {
      path: 'details/:yearMonth/:id',
      component: () => import('@/views/salarys/detail'),
      hidden: true
    },
    {
      path: 'historicalArchiving',
      component: () => import('@/views/salarys/historical'),
      hidden: true
    },
    {
      path: 'monthStatement',
      component: () => import('@/views/salarys/month'),
      hidden: true
    }
  ]
}
